((designWidth) => {
  const body = document.documentElement;
  const refershRem = () => {
    const clientWidth = body.clientWidth;
    if (clientWidth >= designWidth) {
      body.style.fontSize = "100px";
    } else {
      body.style.fontSize = (clientWidth / designWidth) * 100 + "px";
    }
  };
  document.addEventListener("DOMContentLoaded", refershRem);
})(1080);
